home *** CD-ROM | disk | FTP | other *** search
- Path: sdg.cc.iastate.edu!graphix
- From: graphix@iastate.edu (Kent A Vander Velden)
- Newsgroups: comp.lang.c
- Subject: Re: Determining Program Memory Usage
- Date: 3 Jan 96 15:28:03 GMT
- Organization: Iowa State University, Ames, Iowa
- Message-ID: <graphix.820682883@sdg.cc.iastate.edu>
- References: <4c99rv$qph@netnews.upenn.edu>
- NNTP-Posting-Host: sdg.cc.iastate.edu
-
- In <4c99rv$qph@netnews.upenn.edu> aaron@ccat.sas.upenn.edu (Aaron Pawlyk) writes:
-
- >Hello. I've scowered a few reference manuals and some programmers for a
- >C function that will return the memory used by the program it is called within.
-
- >I'm just looking for some code or a function that'll return memory currently
- >used by a program. Any references to any code or any quick examples of how
- >to do this would be appreciated.
-
- >Lessee. System information. Linux (Slackware). Kernel 1.2.11.
-
- >Running GCC 2.5.6 (or about there...)
-
- >Aaron Pawlyk
-
- Will getrusage() work for you?
-
- --
- Kent Vander Velden
- graphix@iastate.edu
-
-